import request from '@/api/request'
export function departments(data) {
  return request({
    url: '/emrweb/department/page',
    method: 'post',
    data,
  })
}
export function departmentInfo(params) {
  return request({
    url: '/emrweb/department/queryInfo',
    method: 'get',
    params,
  })
}
export function remove(params) {
  return request({
    url: '/emrweb/department/remove',
    method: 'get',
    params,
  })
}
export function save(data) {
  return request({
    url: '/emrweb/department/save',
    method: 'post',
    data,
  })
}
export function changeStatus(params) {
  return request({
    url: '/emrweb/department/status',
    method: 'get',
    params,
  })
}
